#ifndef MQCLIENT_MQ_WORKER_HPP_
#define MQCLIENT_MQ_WORKER_HPP_
#include "muduo/net/EventLoopThread.h"
#include "../mqcomm/mq_threadpool.hpp"
#include <memory>

namespace mqclient
{

class AsyncWorker
{
public:
    AsyncWorker() = default;
    ~AsyncWorker() = default;
    muduo::net::EventLoopThread loopthread_;
    pool::ThreadPool pool_;
};
using AsyncWorkerPtr = std::shared_ptr<AsyncWorker>;
}

#endif